package com.dhweb.constants;

/**
 * @author zhouxl
 * @DATE 2021/8/24
 * @descriptoin
 */
public enum CompressStepEnum {

    ScanZipPackage(1,"扫描zip文件"),

    DecompressionZip(2,"解压zip文件"),

    FindIndexPage(3,"找index路径"),

    CompressIndexDir(4,"解压index所在的目录"),

    CleanTempFile(5,"清除产生的临时目录");

    /** 步骤 */
    private int step;

    /** 步骤描述 */
    private String stepDesc;

    CompressStepEnum(int step,String stepDesc){
        this.step = step;
        this.stepDesc = stepDesc;
    }

    public String getStepDesc(){
        return this.stepDesc;
    }

    public int getStep(){
        return this.step;
    }
}
